﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
    public interface IDALBatteryManufacturer : IDisposable
    {
        IEnumerable<BatteryManufacturer> GetBatteryManufacturers();

        BatteryManufacturer GetBatteryManufacturerByID(int bManID);
        BatteryManufacturer GetBatteryManufacturerByName(string bManName);

        void InsertBatteryManufacturer(BatteryManufacturer bMan);
        void DeleteBatteryManufacturer(int bManID);
        void UpdateBatteryManufacturer(BatteryManufacturer bMan);

        int Save();
    }
}